import request from "./request";

export const APIS = {
  request,
  activity: {
    save(data: any) {
      return request.post<any, any>(`activity/save`, data);
    },
    list(data: any) {
      return request.post<any, any>(`activity/list`, data);
    },
    allList(data: any) {
      return request.post<any, any>(`activity/allList`, data);
    },
    remove(data: any) {
      return request.post<any, any>(`activity/remove`, data);
    },
    one(data: any) {
      return request.post<any, any>(`activity/one`, data);
    },
    copy(data?: any) {
      return request.post<any, any>(`activity/copy`, data);
    },
  },
};
export default APIS;
